package com.saxon.Demo2;




public class Client {
    public static void main (String[] args) {
        Host host=new Host ();
        RentInvocationHandler handler = new RentInvocationHandler ();
        handler.setRent (host);
        Rent proxy = (Rent) handler.getProxy ();
        proxy.rent ("saxon");
    }
}
